<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<sx:head/>
</head>
<body>
<div id="all">
<div id="header">
	<h1>Flickr Panda Search</h1>
	<h4>Available Pandas</h4>
</div>
<s:url var="pandaLing" action="listPandaPictures" namespace="/">
	<s:param name="pandaName">ling ling</s:param>
</s:url>
 <s:url var="pandaHsing" action="listPandaPictures" namespace="/">
	<s:param name="pandaName">hsing hsing</s:param>
</s:url>
 <s:url var="pandaWang" action="listPandaPictures" namespace="/">
	<s:param name="pandaName">wang wang</s:param>
</s:url>
<sx:a afterNotifyTopics="loadPandas" href="%{pandaLing}">ling ling</sx:a>
<sx:a afterNotifyTopics="loadPandas" href="%{pandaHsing}">hsing hsing</sx:a>
<sx:a afterNotifyTopics="loadPandas" href="%{pandaWang}">wang wang</sx:a>


<s:url var="listPandas" action="pandaList" namespace="/" />
<sx:div id="cart" href= "%{listPandas}" listenTopics = "loadPandas"> 
</sx:div>

</div>
</body>
</html>